Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ready: Cors #451

Draft
wants to merge 32 commits into
base: main
Choose a base branch
from
Draft

Ready: Cors #451

wants to merge 32 commits into from

Conversation

ethanstrominger
Copy link
Member

@ethanstrominger ethanstrominger commented Nov 30, 2024

Fixes #replace_this_text_with_the_issue_number

What changes did you make?

  • update-table.md : minor change from .pre-commit

Following files were changed to implement /login API so that developers can test the API without connecting to COGNITO

  • custom_api.py
  • urls.py
  • views.py: add patch method to user
  • settings.py: change Move JWT setting to be conditional based on COGNITO variables being set. See also CORS changes

CORS changes

  • settings.py
  • .env.docker-example
  • requirements.txt

Build related changes:

  • buildrun.sh: remove -d flag to make it easier to find out why Django API Server returns an error
  • remove echo DJANGO_SUPERUSER as sometimes this would make script fail
  • docker-compose.yml: avoid running mkdocs by setting env variable

Why did you make the changes?

  • make changes so you can call from REACT
  • Add a login URL for developer so you do not need to connect to COGNITO

ethanstrominger and others added 30 commits October 16, 2024 08:10
commit 0d70d8f
Author: Ethan Strominger <[email protected]>
Date:   Wed Dec 18 11:42:21 2024 -0500

    Update graphviz

commit 775d753
Author: Ethan Strominger <[email protected]>
Date:   Sun Dec 1 17:25:56 2024 -0500

    Modify to tricker pre-commit

commit c75db16
Author: Ethan Strominger <[email protected]>
Date:   Sun Dec 1 17:23:16 2024 -0500

    Fix trailing whitespace
commit 0d70d8f
Author: Ethan Strominger <[email protected]>
Date:   Wed Dec 18 11:42:21 2024 -0500

    Update graphviz

commit 775d753
Author: Ethan Strominger <[email protected]>
Date:   Sun Dec 1 17:25:56 2024 -0500

    Modify to tricker pre-commit

commit c75db16
Author: Ethan Strominger <[email protected]>
Date:   Sun Dec 1 17:23:16 2024 -0500

    Fix trailing whitespace
@ethanstrominger ethanstrominger changed the title Cors Ready: Cors Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: PR Needs review (automated column, do not place items here manually)
Development

Successfully merging this pull request may close these issues.

1 participant